using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN KhoaHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: KhoaHocEntity</para>
	/// <para>Description: ClassKhoaHocEntity store data of table KhoaHoc</para>
	///</summary>

	[DataContract]
	public partial class KhoaHocEntity{


		private bool _InternalChangedIsNullKhoaHoc_ID=true;
		private bool _IsNullKhoaHoc_ID=true;
		private bool _InternalChangedIsNullMaKhoaHoc=true;
		private bool _IsNullMaKhoaHoc=true;
		private bool _InternalChangedIsNullTenKhoaHoc=true;
		private bool _IsNullTenKhoaHoc=true;
		private bool _InternalChangedIsNullMoTaKhoaHoc=true;
		private bool _IsNullMoTaKhoaHoc=true;
		private bool _InternalChangedIsNullBatDau=true;
		private bool _IsNullBatDau=true;
		private int _KhoaHoc_ID;
		private string _MaKhoaHoc;
		private string _TenKhoaHoc;
		private string _MoTaKhoaHoc;
		private DateTime _BatDau;
		[DataMember]
		public bool IsNullKhoaHoc_ID{
			get{return _IsNullKhoaHoc_ID;}
			set{if(!_InternalChangedIsNullKhoaHoc_ID)_IsNullKhoaHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMaKhoaHoc{
			get{return _IsNullMaKhoaHoc;}
			set{if(!_InternalChangedIsNullMaKhoaHoc)_IsNullMaKhoaHoc=value;}
		}
		[DataMember]
		public bool IsNullTenKhoaHoc{
			get{return _IsNullTenKhoaHoc;}
			set{if(!_InternalChangedIsNullTenKhoaHoc)_IsNullTenKhoaHoc=value;}
		}
		[DataMember]
		public bool IsNullMoTaKhoaHoc{
			get{return _IsNullMoTaKhoaHoc;}
			set{if(!_InternalChangedIsNullMoTaKhoaHoc)_IsNullMoTaKhoaHoc=value;}
		}
		[DataMember]
		public bool IsNullBatDau{
			get{return _IsNullBatDau;}
			set{if(!_InternalChangedIsNullBatDau)_IsNullBatDau=value;}
		}
		[DataMember]
		public int KhoaHoc_ID{
			get{return _KhoaHoc_ID;}
			set{
				_KhoaHoc_ID=value;
				if(_KhoaHoc_ID!=null){
					_IsNullKhoaHoc_ID=false;
					_InternalChangedIsNullKhoaHoc_ID=true;
				}
			}
		}
		[DataMember]
		public string MaKhoaHoc{
			get{return _MaKhoaHoc;}
			set{
				_MaKhoaHoc=value;
				if(_MaKhoaHoc!=null){
					_IsNullMaKhoaHoc=false;
					_InternalChangedIsNullMaKhoaHoc=true;
				}
			}
		}
		[DataMember]
		public string TenKhoaHoc{
			get{return _TenKhoaHoc;}
			set{
				_TenKhoaHoc=value;
				if(_TenKhoaHoc!=null){
					_IsNullTenKhoaHoc=false;
					_InternalChangedIsNullTenKhoaHoc=true;
				}
			}
		}
		[DataMember]
		public string MoTaKhoaHoc{
			get{return _MoTaKhoaHoc;}
			set{
				_MoTaKhoaHoc=value;
				if(_MoTaKhoaHoc!=null){
					_IsNullMoTaKhoaHoc=false;
					_InternalChangedIsNullMoTaKhoaHoc=true;
				}
			}
		}
		[DataMember]
		public DateTime BatDau{
			get{return _BatDau;}
			set{
				_BatDau=value;
				if(_BatDau!=null){
					_IsNullBatDau=false;
					_InternalChangedIsNullBatDau=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END KhoaHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

